Skip to main content

cantAbort

Type

property

Summary

Specifies whether the user can halt a handler with a key combination.

Syntax

set the cantAbort of <stack> to {true | false}

Description

Use the cantAbort property to prevent users from interrupting any of the handlers in a stack.

If a stack's cantAbort property is set to false, the user can halt a running handler in the stack by pressing Control-period or Control-break (on Windows or Unix) or Command-period (on Mac OS).

If the cantAbort is true, the user cannot interrupt a handler.

warning

Before setting a stack's cantAbort property to true, make sure all handlers that may be affected have been thoroughly tested. If cantAbort is set to true, you cannot interrupt a runaway handler with the standard key combination.

Examples

set the cantAbort of stack "Critical Functions" to true

function: stacks

glossary: property, handler, key combination, Windows, Unix, Mac OS

object: stack

property: allowInterrupts

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?